package force;
/**
 * @author Xi Du Michael Deng
 *
 */
public class CenterMass extends ForceVector {
    /**
     * @param myExp exponent value
     */
    private double myExp;

    /**
     * @param myMagnitude the magnitude of force
     */
    private double myMagnitude;

    /**
     * constructor of center mass force.
     * @param exponent exponent
     * @param magnitude magnitude
     */
    public CenterMass(final double exponent, final double magnitude) {
    super();
    myExp = exponent;
    myMagnitude = magnitude;
    }

/**
 * @return myExp
 */
public final double getmyExp() {
    return myExp;
}
/**
 * @return get myMagnitude
 */
@Override
public final double getMagnitude() {
    return myMagnitude;
}
}
